State value as a string

If you want to get a state machine state as a string, for example, using an OCL-PS expression, use:

(#state-name).toString

Or, for example:

(#New).toString
This page was edited more than 6 months ago on 06/17/2024. What links here